using Blazored.FluentValidation;
using System.Reflection;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using MudExtensions;
using SageKing.Designer.Core.Models;
using Microsoft.AspNetCore.Components.Forms;
using MudBlazor;
using SageKing.Designer.Core.Contracts;
using Humanizer;
using SageKing.Designer.Core.UI.Contracts;

namespace SageKing.Studio.Pages.Dashboard.Components;

public partial class InputOutputTab
{
    [Parameter] public WorkflowDefinition WorkflowDefinition { get; set; } = default!;
    [Parameter] public EventCallback WorkflowDefinitionUpdated { get; set; }
    [CascadingParameter] public IWorkspace? Workspace { get; set; }
    
    private bool IsReadOnly => Workspace?.IsReadOnly ?? true;
    
}